import icon1 from '@/assets/didaima/cardLeft.png'
import icon2 from '@/assets/didaima/cardRight.png'
import icon3 from '@/assets/didaima/banner1.png'
import icon4 from '@/assets/didaima/banner2.png'
//
import icon5 from '@/assets/didaima/setmealIcon.png'
import icon6 from '@/assets/didaima/balanceIcon.png'
import icon7 from '@/assets/didaima/realNameIcon.png'
import icon8 from '@/assets/didaima/recordIcon.png'
import icon9 from '@/assets/didaima/moreIcon.png'
import icon10 from '@/assets/didaima/outIcon.png'
import icon15 from '@/assets/didaima/lingqu.png'
import icon16 from '@/assets/didaima/zhineng.png'
import icon17 from '@/assets/didaima/shengxiao.png'
import icon18 from '@/assets/didaima/zidong.png'
import icon19 from '@/assets/didaima/jisu.png'
import icon20 from '@/assets/didaima/device.png'
//
import btn7 from '@/assets/didaima/huodongjin.png'
import btn8 from '@/assets/didaima/xiangdan.png'
import btn9 from '@/assets/didaima/xiugaimima.png'
import btn10 from '@/assets/didaima/kefu.png'
//
import tabbar11 from '@/assets/didaima/home.png'
import tabbar12 from '@/assets/didaima/shouye.png'
import tabbar21 from '@/assets/didaima/shop.png'
import tabbar22 from '@/assets/didaima/gouwu.png'
import tabbar31 from '@/assets/didaima/xiaoxis.png'
import tabbar32 from '@/assets/didaima/xiaoxi.png'
import tabbar61 from '@/assets/didaima/class.png'
import tabbar62 from '@/assets/didaima/classactive.png'
import tabbar71 from '@/assets/didaima/shopactive.png'
import tabbar72 from '@/assets/didaima/gouwuche.png'
export default [
  {
    name: '首页',
    content: [
      {
        id: '1-1',
        icon: '/src/assets/didaima/panel/yinhangka.png',
        name: 'cardNum',
        label: '卡号框',
        maxCount: 0,
        componentConfig: {
          icon1: icon1,
          icon2: icon2,
          bgColor: '#ffffff',
          boxBg: '#ffffff',
          textColor: '',
          showType: 1,
          bgImage: '',
          paddingTop: 10,
          paddingTwice: 10,
          radiusNumTop: 10,
          paddingBottom: 0,
          radiusNumBottom: 10,
        },
        useComponentName: 'cardNumSetting',
      },
      // {
      //   id: '1-1',
      //   icon: '/src/assets/didaima/panel/tupian.png',
      //   name: 'swiper',
      //   label: '轮播图',
      //   maxCount: 0,
      //   componentConfig: {
      //     type: 'slide',
      //     dianType: 'dot',
      //     showDian: true,
      //     imageList: [
      //       {
      //         image: icon3,
      //       },
      //       {
      //         image: icon4,
      //       },
      //     ],
      //     paddingTop: 0,
      //     paddingTwice: 10,
      //     radiusNumTop: 10,
      //     paddingBottom: 10,
      //     radiusNumBottom: 10,
      //   },
      //   useComponentName: 'swiperSetting',
      // },
      // {
      //   id: '1-1',
      //   icon: '/src/assets/didaima/panel/yinliang.png',
      //   name: 'notice',
      //   label: '公告',
      //   maxCount: 10,
      //   componentConfig: {
      //     step: 7,
      //     iconType: 'icon',
      //     textColor: '#ffffff',
      //     noticeText: '1111111111111111111',
      //     noticeType: 'selfSet',
      //     paddingTop: 0,
      //     paddingTwice: 10,
      //     radiusNumTop: 10,
      //     paddingBottom: 10,
      //     radiusNumBottom: 10,
      //   },
      //   useComponentName: 'noticeSet',
      // },
      {
        id: '1-1',
        icon: '/src/assets/didaima/panel/wendang.png',
        name: 'Cardinformation',
        label: '卡板信息',
        maxCount: 10,
        componentConfig: {
          tagList: [
            {
              name: '网络状态',
              text: '正常',
              status: true,
            },
            {
              name: '官方实名',
              text: '已实名',
              status: true,
            },
            {
              name: '剩余天数',
              text: '30天',
              status: true,
            },
            {
              name: '账户余额',
              text: '100元',
              status: true,
            },
            {
              name: '已用流量',
              text: '100G',
              status: true,
            },
            {
              name: '剩余流量',
              text: '100G',
              status: false,
            },
            {
              name: '活动余额',
              text: '66',
              status: false,
            },
            {
              name: '连接数量',
              text: '5',
              status: false,
            },
            {
              name: '设备信号',
              text: '正常',
              status: false,
            },
            {
              name: '设备电量',
              text: '100%',
              status: false,
            },
            {
              name: '设备状态',
              text: '正常',
              status: false,
            },
            {
              name: '在线状态',
              text: '正常',
              status: false,
            },
          ],
          paddingTop: 10,
          paddingTwice: 10,
          radiusNumTop: 10,
          paddingBottom: 10,
          radiusNumBottom: 10,
        },
        useComponentName: 'cardinformationSet',
      },
      {
        id: '1-1',
        icon: '/src/assets/didaima/panel/dingwei.png',
        name: 'buttons',
        label: '按钮组',
        maxCount: 10,
        componentConfig: {
          items: 2,
          lines: 1,
          btnList: [
            {
              img: icon5,
              tag: false,
              copyCard: false,
              link: '/pages/home/setMeal',
              name: '套餐充值',
              tagBg: '#ff0000',
              status: 0,
              tagColor: '#ffffff',
              showChooseColor1: false,
              showChooseColor2: false,
            },
            {
              img: icon6,
              tag: false,
              copyCard: false,
              link: '/pages/home/balance',
              name: '余额充值',
              tagBg: '#ff0000',
              status: 0,
              tagColor: '#ffffff',
              showChooseColor1: false,
              showChooseColor2: false,
            },
          ],
          btnType: 'line',
          paddingTop: 0,
          paddingTwice: 10,
          radiusNumTop: 10,
          paddingBottom: 10,
          radiusNumBottom: 10,
        },
        useComponentName: 'buttonSetting',
      },
      {
        id: '1-1',
        icon: '/src/assets/didaima/panel/dingwei.png',
        name: 'buttons',
        label: '按钮组',
        maxCount: 10,
        componentConfig: {
          items: 5,
          lines: 1,
          btnList: [
            {
              img: icon7,
              tag: false,
              copyCard: false,
              link: '/',
              name: '官方实名',
              tagBg: '#ff0000',
              status: 0,
              tagColor: '#ffffff',
              showChooseColor1: false,
              showChooseColor2: false,
            },
            {
              img: icon16,
              tag: false,
              copyCard: false,
              link: '/',
              name: '智能检测',
              tagBg: '#ff0000',
              status: 0,
              tagColor: '#ffffff',
              showChooseColor1: false,
              showChooseColor2: false,
            },
            {
              img: btn7,
              tag: false,
              copyCard: false,
              link: '/pages/home/couponList',
              name: '活动金',
              tagBg: '#ff0000',
              status: 0,
              tagColor: '#ffffff',
              showChooseColor1: false,
              showChooseColor2: false,
            },

            {
              img: btn10,
              tag: false,
              copyCard: false,
              link: '/pages/customer/customer',
              name: '售后客服',
              tagBg: '#ff0000',
              status: 0,
              tagColor: '#ffffff',
              showChooseColor1: false,
              showChooseColor2: false,
            },
            {
              img: icon8,
              tag: false,
              copyCard: false,
              link: '/pages/bill/bill',
              name: '账单中心',
              tagBg: '#ff0000',
              status: 0,
              tagColor: '#ffffff',
              showChooseColor1: false,
              showChooseColor2: false,
            },
            {
              img: icon17,
              tag: false,
              copyCard: false,
              link: '/',
              name: '生效套餐',
              tagBg: '#ff0000',
              status: 0,
              tagColor: '#ffffff',
              showChooseColor1: false,
              showChooseColor2: false,
            },
            {
              img: btn8,
              tag: false,
              copyCard: false,
              link: '/pages/home/liuliangDetail',
              name: '流量详单',
              tagBg: '#ff0000',
              status: 0,
              tagColor: '#ffffff',
              showChooseColor1: false,
              showChooseColor2: false,
            },
            {
              img: icon18,
              tag: false,
              copyCard: false,
              link: '/',
              name: '自动续费',
              tagBg: '#ff0000',
              status: 0,
              tagColor: '#ffffff',
              showChooseColor1: false,
              showChooseColor2: false,
            },
            {
              img: btn9,
              tag: false,
              copyCard: false,
              link: '/pages/home/changePassWord',
              name: '修改密码',
              tagBg: '#ff0000',
              status: 0,
              tagColor: '#ffffff',
              showChooseColor1: false,
              showChooseColor2: false,
            },
            {
              img: icon15,
              tag: false,
              copyCard: false,
              link: '/pages/home/receiveMeal',
              name: '领取套餐',
              tagBg: '#ff0000',
              status: 0,
              tagColor: '#ffffff',
              showChooseColor1: false,
              showChooseColor2: false,
            },
            {
              img: icon19,
              tag: false,
              copyCard: false,
              link: '/pages/home/jisu',
              name: '极速会员',
              tagBg: '#ff0000',
              status: 0,
              tagColor: '#ffffff',
              showChooseColor1: false,
              showChooseColor2: false,
            },
            {
              img: icon20,
              tag: false,
              copyCard: false,
              link: '/pages/home/shebei',
              name: '设备管理',
              tagBg: '#ff0000',
              status: 0,
              tagColor: '#ffffff',
              showChooseColor1: false,
              showChooseColor2: false,
            },
            {
              img: icon10,
              tag: false,
              copyCard: false,
              link: '/pages/index/index',
              name: '退出登录',
              tagBg: '#ff0000',
              status: 0,
              tagColor: '#ffffff',
              showChooseColor1: false,
              showChooseColor2: false,
            },
          ],
          btnType: 'dot',
          paddingTop: 0,
          paddingTwice: 10,
          radiusNumTop: 10,
          paddingBottom: 10,
          radiusNumBottom: 10,
        },
        useComponentName: 'buttonSetting',
      },
      {
        id: '1-1',
        icon: '/src/assets/didaima/panel/guanlian.png',
        name: 'detection',
        label: '智能检测',
        maxCount: 10,
        componentConfig: {
          paddingTop: 0,
          paddingTwice: 10,
          radiusNumTop: 10,
          paddingBottom: 0,
          radiusNumBottom: 10,
        },
        useComponentName: 'detectionSet',
      },

      {
        id: '1-1',
        icon: '/src/assets/didaima/panel/baogao.png',
        name: 'flows',
        label: '流量数据',
        maxCount: 10,
        componentConfig: {
          times: 5,
          loadType: 0,
          paddingTop: 0,
          paddingTwice: 10,
          radiusNumTop: 10,
          paddingBottom: 10,
          radiusNumBottom: 10,
        },
        useComponentName: 'flowSet',
      },
    ],
  },
  {
    id: 3,
    name: '导航',
    content: {
      id: '1-1',
      label: '导航',
      maxCount: 1,
      componentConfig: {
        items: 5,
        lines: 10,
        jiaohu: 'slide-in-right',
        bgColor: '#ffffff',
        btnList: [
          {
            link: '/pages/home/home',
            name: '首页',
            image1: tabbar11,
            image2: tabbar12,
            status: 1,
            default: true,
          },
          {
            link: '/pages/mall/mall',
            name: '商城',
            image1: tabbar21,
            image2: tabbar22,
            status: 1,
            default: false,
          },
          {
            link: '/pages/recharge/recharge',
            name: '充值',
            image1: tabbar71,
            image2: tabbar72,
            status: 1,
            default: false,
          },
          {
            link: '/pages/manage/manage',
            name: '设备',
            image1: tabbar61,
            image2: tabbar62,
            status: 1,
            default: false,
          },
          {
            link: '/pages/customer/customer',
            name: '客服',
            image1: tabbar31,
            image2: tabbar32,
            status: 1,
            default: true,
          },
        ],
        btnType: 'dot',
        paddingTop: 8,
        paddingTwice: 10,
        paddingBottom: 8,
      },
      useComponentName: 'tabbarSet',
    },
  },
]
